//考勤管理

import http from '@/lib/http'




//5个
//6-01-a PC新增准备  /attendance/ready
export function getAttendanceReady(params) {
    return http.getRequest(`/attendance/ready`, params)
}
//6-01-b 考勤记录添加  /attendance/add
export function addAttendance(params) {
    return http.postRequest(`/attendance/add`, params)
}
//6-02 考勤记录删除（工人） /attendance/remove
export function deleteAttendance(params) {
    return http.getRequest(`/attendance/remove`, params)
}
//6-03 考勤审核   /attendance/audit
export function reviewAttendance(params) {
    return http.postRequest(`/attendance/audit`, params)
}
//6-04 考勤记录查询/进入   /attendance/select
export function getAttendanceList(params) {
    return http.getRequest(`/attendance/select`, params)
}

// 日工/维修 小时单价 审批
export function reviewHourPrice(params) {
    return http.postRequest(`/review/hourprice`, params)
}

// 返修/工装 任务工时 审批
export function reviewQuotaHour(params) {
    return http.postRequest(`/review/quotahour`, params)
}



// 初始化用户密码
export function saveDayPrice(params) {
    return http.postRequest(`/dayprice/set`, params)
  }
  
  // 初始化用户密码
  export function getDayPrice(params) {
    return http.getRequest(`/dayprice/get`, params)
  }